package uspeedd.metamodel;

import uspeedd.metamodel.enumeration.TypeAssociationUspeed;

public class Liens{
	private Declaration classe1;
	private Declaration classe2;
	private TypeAssociationUspeed monLien;
	private String cardinalite1;
	private String cardinalite2;
	
	public Liens() {
		super();
		this.classe1 = null;
		this.classe2 = null;
		this.monLien = null;
		this.cardinalite1 = null;
		this.cardinalite2 = null;
	}
	
	
	public Liens(Declaration classe1, Declaration classe2,
			TypeAssociationUspeed monLien, String cardinalite1, String cardinalite2) {
		super();
		this.classe1 = classe1;
		this.classe2 = classe2;
		this.monLien = monLien;
		this.cardinalite1 = cardinalite1;
		this.cardinalite2 = cardinalite2;
	}

	public Declaration getClasse1() {return classe1;}
	public void setClasse1(Declaration classe1) {this.classe1 = classe1;}
	public Declaration getClasse2() {return classe2;}
	public void setClasse2(Declaration classe2) {this.classe2 = classe2;}
	public TypeAssociationUspeed getMonLien() {return monLien;}
	public void setMonLien(TypeAssociationUspeed monLien) {this.monLien = monLien;}
	public String getCardinalite1() {return cardinalite1;}
	public void setCardinalite1(String cardinalite1) {this.cardinalite1 = cardinalite1;}
	public String getCardinalite2() {return cardinalite2;}
	public void setCardinalite2(String cardinalite2) {this.cardinalite2 = cardinalite2;}
}
